<?php
/**
 * User: lie
 * Date: 2020/11/10 12:54
 * Title:
 * description: 截取论坛标题
 * Error:
 */
    $b = "截取论坛标题";
    $a = "<title>$b</title>";
    echo  $a;
    echo "本论坛标题：".$a;
    echo "<br>";
    $b = substr($b, 0, 12);
    echo "截取字符串：".$b;
    